import request from "@/utils/request";
import { param } from "@/utils";

export const getList=(query,data)=>{
    return request({
        url:`/finance/partnerAccount/page?${param(query)}`,
        method:'post',
        data
    })
}

export const add=(data)=>{
    return request({
        url:`/finance/partnerAccount/add`,
        method:'post',
        data
    })
}

export const edit=(data)=>{
    return request({
        url:`/finance/partnerAccount/update`,
        method:'post',
        data
    })
}